﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace QuickApp.MVCControl.FlexiGrid
{
    /// <summary>
    /// 输出表格的HTML接口
    /// </summary>
    /// <typeparam name="T">表格类型</typeparam>
    public interface IGridRenderer<T> where T : class
    {
        /// <summary>
        /// 输出指定表格类型的HTML接口
        /// </summary>
        /// <param name="data">表格类型</param>
        /// <returns>HTML格式的字符串</returns>
        string Render(T data);
    }
}
